home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / linux / ds1wm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  428 b   |  13 lines

  1. /* platform data for the DS1WM driver */
  2.  
  3. struct ds1wm_platform_data {
  4.     int bus_shift;        /* number of shifts needed to calculate the
  5.                  * offset between DS1WM registers;
  6.                  * e.g. on h5xxx and h2200 this is 2
  7.                  * (registers aligned to 4-byte boundaries),
  8.                  * while on hx4700 this is 1 */
  9.     int active_high;
  10.     void (*enable)(struct platform_device *pdev);
  11.     void (*disable)(struct platform_device *pdev);
  12. };
  13.